#ifndef _SHELL_USERINFO_BEAN_H_
#define _SHELL_USERINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class UserInfo : public Bean
{
	public:
	UserInfo();
	~UserInfo();
	void reset();
	UserInfo* clone();
	//用户id
	int64 userid;
	//角色名
	string roleName;
	//角色等级
	int32 level;
	//职业类型
	int32 playerType;
	//战力
	int32 force;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
